package org.JQbitorrentClinet.request.rss;

import lombok.Builder;
import org.JQbitorrentClinet.utils.HttpClientProxyRequestType;
import org.JQbitorrentClinet.base.BaseParam;

@Builder
public class RssRefreshItemParam extends BaseParam {
    String itemPath;

    public RssRefreshItemParam(String itemPath) {
        this.itemPath = itemPath;
        requestType = HttpClientProxyRequestType.POSTURLENCODED;
    }

    @Override
    public String getApiUrl() {
        return "/api/v2/rss/refreshItem";
    }
}
